Skip to content

refactor: drop PYAUTO_DISABLE_CRITICAL_CAUSTICS in favor of PYAUTO_FAST_PLOTS#43

Merged
Jammy2211 merged 1 commit intomainfrom
feature/merge-fast-plot-env-vars
Apr 12, 2026
Merged

refactor: drop PYAUTO_DISABLE_CRITICAL_CAUSTICS in favor of PYAUTO_FAST_PLOTS#43
Jammy2211 merged 1 commit intomainfrom
feature/merge-fast-plot-env-vars

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Retire the PYAUTO_DISABLE_CRITICAL_CAUSTICS env var from PyAutoBuild's release workflow, default env vars, and CLAUDE docs. PyAutoGalaxy now routes its critical-curve/caustic overlay skip through PYAUTO_FAST_PLOTS, so the dedicated flag is no longer needed — it was always set in lockstep with PYAUTO_FAST_PLOTS anyway.

Paired PR: PyAutoLabs/PyAutoGalaxy#340 (the actual code change). Workspace-level env_vars.yaml / run_scripts.sh / CLAUDE.md cleanups land in a follow-up workspace sweep.

API Changes

Configuration / environment variable only — no Python API changes. PYAUTO_DISABLE_CRITICAL_CAUSTICS is removed from autobuild/config/env_vars.yaml defaults and from the release notebook job. The documented env var list in CLAUDE.md now folds the overlay-skipping behaviour into the PYAUTO_FAST_PLOTS bullet. Downstream workspace configs that still list the retired flag should drop it in their next update.

See full details below.

Test Plan

  • grep -r PYAUTO_DISABLE_CRITICAL_CAUSTICS . in PyAutoBuild → zero matches.
  • env_vars.yaml still loads and parses (only a single key removed).
  • Next release build (run separately) exercises the updated release.yml notebook job.
Full API Changes (for automation & release notes)

Removed (config / env var)

  • autobuild/config/env_vars.yaml — removed the PYAUTO_DISABLE_CRITICAL_CAUSTICS: "1" default.
  • .github/workflows/release.yml — removed export PYAUTO_DISABLE_CRITICAL_CAUSTICS=1 from the notebook-running step (line 759).
  • CLAUDE.md — removed the dedicated PYAUTO_DISABLE_CRITICAL_CAUSTICS bullet from the env var reference.

Changed Documentation

  • CLAUDE.md — the PYAUTO_FAST_PLOTS bullet now documents that this flag also skips critical-curve / caustic overlay computation (the behaviour that used to live under the retired flag).

Migration

  • Downstream configs / scripts that currently set PYAUTO_DISABLE_CRITICAL_CAUSTICS=1 should drop it. PYAUTO_FAST_PLOTS=1 alone now covers both tight_layout() skipping and overlay skipping.

Generated with Claude Code

…ST_PLOTS

PyAutoGalaxy now routes its critical-curve/caustic overlay skip
through PYAUTO_FAST_PLOTS, so the dedicated flag is retired here:
removed from the default env_vars, the release.yml notebook job, and
the CLAUDE.md env var reference (the PYAUTO_FAST_PLOTS bullet now
documents both tight_layout and overlay skipping).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit 94ed89f into main Apr 12, 2026
@Jammy2211 Jammy2211 deleted the feature/merge-fast-plot-env-vars branch April 12, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release Merged PR awaiting inclusion in the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant